package com.oocl.service.impl;

import com.oocl.dao.UserDao;
import com.oocl.dao.impl.UserDaoImpl;
import com.oocl.pojo.User;
import com.oocl.service.UserManager;
import com.oocl.util.InstanceFactory;

public class UserManagerImpl implements UserManager{
	private UserDao userDao;
	
	public UserManagerImpl() {
		userDao = InstanceFactory.newInstance(UserDaoImpl.class);
	}

	@Override
	public User findUserByUserName(String username) {
		return userDao.findUserByUserName(username);
	}
	
}
